-- GENERATED SPELL FOR [Melee Target] --


function spell0_33229(pUnit, Event) --@Counterattack!,n/a--
pUnit:FullCastSpellOnTarget(62709,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33229', 596, 1)
end

function Sorts_33229(pUnit, Event)
local choix_sorts_33229 = math.random(0, 0)
if choix_sorts_33229 == 0 then
pUnit:RegisterEvent('spell0_33229', 1, 1)
end
end

function mob33229_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33229', math.random(1500, 3000), 1)
end

function mob33229_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33229_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33229_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33229, 1, 'mob33229_Action')
RegisterUnitEvent(33229, 2, 'mob33229_Leave')
RegisterUnitEvent(33229, 3, 'mob33229_Kill')
RegisterUnitEvent(33229, 4, 'mob33229_Die')
